View Group Types
QuickDraw GX provides two predefined view group references for you, defined by the following constants:
#define gxAllViewDevices ((gxViewGroup) 0) #define gxScreenViewDevices ((gxViewGroup) 1)Constant descriptions
gxAllViewDevices
- Not an actual reference, this constant represents all view groups, both offscreen and onscreen. You can use this constant when you want to use the
GXGetViewGroupViewPorts
function or theGXGetViewGroupViewDevices
function to determine all the view ports or all the view devices for all view groups. You cannot use this constant to set a view port or view device.gxScreenViewDevices
- A reference to the view group that includes view device objects
for all physical display devices. Only by drawing to view ports in this view group can you perform onscreen drawing. This is the one view group that QuickDraw GX provides for you.